package com.liang.blog.model.base;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 分页记录
 * @Author：YanWenLiang
 * @Date:2023-08-16-22:02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BlogPageInfo<T> implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 总记录数 */
    private long total;

    /** 列表数据 */
    private List<T> rows;
}
